package com.foreknow.elm.dao;

import com.foreknow.elm.po.OrderDetailet;

import java.util.List;

/**
 * @author shkstart
 * @create 2021-09-02 13:18
 */
public interface OrderDetailetDao {
    /**
     * 向OrderDetailet添加数据
     * @param list
     * @return
     * @throws Exception
     */
    public int saveOrderDetailetBatch(List<OrderDetailet> list) throws Exception;

    /**
     *根据orderid 查询订单明细
     * @param orderId
     * @return
     * @throws Exception
     */
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId) throws Exception;

}
